import '../css/style.css';
import '../css/title.less'
import '../css/image.css';
// 加载图片出错 但不报错 run build的图片打不开
// 图片是存在的,就是显示不了
import '../font/iconfont.css'

import zznhImage from '../img/zznh.png'

const divEl = document.createElement('div');
divEl.className = 'title';
divEl.innerHTML = "你好啊 李银河";

// 设置背景图片
const bgDivEl = document.createElement('div');
bgDivEl.className = "image-bg";

// 设置img元素的src
const imgEl = document.createElement('img');
imgEl.src = zznhImage;

// i元素
const iEl = document.createElement('i');
iEl.className = "iconfont icon-ashbin";

document.body.appendChild(divEl);
document.body.appendChild(bgDivEl);
document.body.appendChild(imgEl);
document.body.appendChild(iEl);

console.log('123');
console.log('abc');
console.log('abc');
console.log('111111');